home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
nm.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
10KB
|
265 lines
nnnnmmmm((((1111)))) ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111)))) nnnnmmmm((((1111))))
NNNNAAAAMMMMEEEE
nm - list symbols from object files.
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
nnnnmmmm [----aaaa|--------ddddeeeebbbbuuuugggg----ssssyyyymmmmssss] [----gggg|--------eeeexxxxtttteeeerrrrnnnn----oooonnnnllllyyyy] [----BBBB]
[----CCCC|--------ddddeeeemmmmaaaannnngggglllleeee] [----DDDD|--------ddddyyyynnnnaaaammmmiiiicccc] [----ssss|--------pppprrrriiiinnnntttt----aaaarrrrmmmmaaaapppp]
[----oooo|--------pppprrrriiiinnnntttt----ffffiiiilllleeee----nnnnaaaammmmeeee] [----nnnn|--------nnnnuuuummmmeeeerrrriiiicccc----ssssoooorrrrtttt]
[----pppp|--------nnnnoooo----ssssoooorrrrtttt] [----rrrr|--------rrrreeeevvvveeeerrrrsssseeee----ssssoooorrrrtttt] [--------ssssiiiizzzzeeee----ssssoooorrrrtttt]
[----uuuu|--------uuuunnnnddddeeeeffffiiiinnnneeeedddd----oooonnnnllllyyyy] [--------hhhheeeellllpppp] [--------vvvveeeerrrrssssiiiioooonnnn] [----tttt
_r_a_d_i_x|--------rrrraaaaddddiiiixxxx====_r_a_d_i_x] [----PPPP|--------ppppoooorrrrttttaaaabbbbiiiilllliiiittttyyyy] [----ffff
_f_o_r_m_a_t|--------ffffoooorrrrmmmmaaaatttt====_f_o_r_m_a_t] [--------ttttaaaarrrrggggeeeetttt====_b_f_d_n_a_m_e] [_o_b_j_f_i_l_e...]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
GNU nnnnmmmm lists the symbols from object files _o_b_j_f_i_l_e. If no
object files are given as arguments, nnnnmmmm assumes `aaaa....oooouuuutttt'.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
The long and short forms of options, shown here as alterna-
tives, are equivalent.
----AAAA
----oooo
--------pppprrrriiiinnnntttt----ffffiiiilllleeee----nnnnaaaammmmeeee
Precede each symbol by the name of the input file where
it was found, rather than identifying the input file
once only before all of its symbols.
----aaaa
--------ddddeeeebbbbuuuugggg----ssssyyyymmmmssss
Display debugger-only symbols; normally these are not
listed.
----BBBB The same as --------ffffoooorrrrmmmmaaaatttt====bbbbssssdddd (for compatibility with the
MIPS nnnnmmmm).
----CCCC
--------ddddeeeemmmmaaaannnngggglllleeee
Decode (_d_e_m_a_n_g_l_e) low-level symbol names into user-
level names. Besides removing any initial underscore
prepended by the system, this makes C++ function names
readable.
Page 1 (printed 7/12/95)
nnnnmmmm((((1111)))) ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111)))) nnnnmmmm((((1111))))
----DDDD
--------ddddyyyynnnnaaaammmmiiiicccc
Display the dynamic symbols rather than the normal sym-
bols. This is only meaningful for dynamic objects,
such as certain types of shared libraries.
----ffff _f_o_r_m_a_t
Use the output format _f_o_r_m_a_t, which can be ``bsd'',
``sysv'', or ``posix''. The default is `bsd''. Only
the first character of _f_o_r_m_a_t is significant; it can be
either upper or lower case.
----gggg
--------eeeexxxxtttteeeerrrrnnnn----oooonnnnllllyyyy
Display only external symbols.
----nnnn
----vvvv
--------nnnnuuuummmmeeeerrrriiiicccc----ssssoooorrrrtttt
Sort symbols numerically by their addresses, not alpha-
betically by their names.
----pppp
--------nnnnoooo----ssssoooorrrrtttt
Don't bother to sort the symbols in any order; just
print them in the order encountered.
----PPPP
--------ppppoooorrrrttttaaaabbbbiiiilllliiiittttyyyy
Use the POSIX.2 standard output format instead of the
default format. Equivalent to ``-f posix''.
----ssss
--------pppprrrriiiinnnntttt----aaaarrrrmmmmaaaapppp
When listing symbols from archive members, include the
index: a mapping (stored in the archive by aaaarrrr or rrrraaaannnn----
lllliiiibbbb) of what modules contain definitions for what
names.
Page 2 (printed 7/12/95)
nnnnmmmm((((1111)))) ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111)))) nnnnmmmm((((1111))))
----rrrr
--------rrrreeeevvvveeeerrrrsssseeee----ssssoooorrrrtttt
Reverse the sense of the sort (whether numeric or al-
phabetic); let the last come first.
--------ssssiiiizzzzeeee----ssssoooorrrrtttt
Sort symbols by size. The size is computed as the
difference between the value of the symbol and the
value of the symbol with the next higher value. The
size of the symbol is printed, rather than the value.
----tttt _r_a_d_i_x
--------rrrraaaaddddiiiixxxx====_r_a_d_i_x
Use _r_a_d_i_x as the radix for printing the symbol values.
It must be ``d'' for decimal, ``o'' for octal, or ``x''
for hexadecimal.
--------ttttaaaarrrrggggeeeetttt====_b_f_d_n_a_m_e
Specify an object code format other than your system's
default format. See oooobbbbjjjjdddduuuummmmpppp(1111), for information on
listing available formats.
----uuuu
--------uuuunnnnddddeeeeffffiiiinnnneeeedddd----oooonnnnllllyyyy
Display only undefined symbols (those external to each
object file).
----VVVV
--------vvvveeeerrrrssssiiiioooonnnn
Show the version number of nnnnmmmm and exit.
--------hhhheeeellllpppp
Show a summary of the options to nnnnmmmm and exit.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
`bbbbiiiinnnnuuuuttttiiiillllssss' entry in iiiinnnnffffoooo; _T_h_e _G_N_U _B_i_n_a_r_y _U_t_i_l_i_t_i_e_s, Roland
H. Pesch (October 1991); aaaarrrr(1111), oooobbbbjjjjdddduuuummmmpppp(1111), rrrraaaannnnlllliiiibbbb(1111).
CCCCOOOOPPPPYYYYIIIINNNNGGGG
PPPPaaaaggggeeee 3333 ((((pppprrrriiiinnnntttteeeedddd 7777////11112222////99995555))))
nnnnmmmm((((1111)))) ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111)))) nnnnmmmm((((1111))))
Copyright (c) 1991 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies
of this manual provided the copyright notice and this per-
mission notice are preserved on all copies.
Permission is granted to copy and distribute modified ver-
sions of this manual under the conditions for verbatim copy-
ing, provided that the entire resulting derived work is dis-
tributed under the terms of a permission notice identical to
this one.
Permission is granted to copy and distribute translations of
this manual into another language, under the above condi-
tions for modified versions, except that this permission no-
tice may be included in translations approved by the Free
Software Foundation instead of in the original English.
Page 4 (printed 7/12/95)